package cn.huiyunche.base.service.interfaces;

import cn.huiyunche.base.service.model.DUserLicense;

import java.util.List;

/**
 * The interface D user license service.
 *
 * @FileName: cn.huiyunche.service.base.interfaces
 * @Description: 用户证件
 * @author: Aaron
 * @date: 2016 /12/8 下午2:44
 */
public interface DUserLicenseService {

    /**
     * Gets list by user ids.
     *
     * @param dUserIds the d user ids
     * @return the list by user ids
     */
    List<DUserLicense> getListByUserIds(List<Long> dUserIds);

    /**
     * Insert selective int.
     *
     * @param dUserLicense the d user license
     * @return the int
     */
    public int insertSelective(DUserLicense dUserLicense);

    /**
     * Delete by user id int.
     *
     * @param userId the user id
     * @return the int
     */
    public int deleteByUserId(Long userId);

    /**
     * Select by user id d user license.
     *
     * @param userId the user id
     * @return the d user license
     */
    DUserLicense selectByUserId(Long userId);
}
